home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Compilers⁄Interps / GCC-2.3.3r12 / GCC.Help < prev    next >
Encoding:
Text File  |  1993-06-08  |  12.1 KB  |  182 lines  |  [TEXT/MPS ]

  1. gC                # Gnu C compiler
  2. gC [option…] [file]  < file > preprocessor(?) ≥ progress
  3.     -ansi                   # accept only ANSI-compliant code
  4.     -asm                    # produce assembly language only, in <file>.a
  5.     -b                      # put string constants into code and generate PC-relative references
  6.     -b2                     # 
  7.     -b3                     # 
  8.     -c                      # syntax check only, don't create object file
  9.     -d name                 # equivalent to: #define name 1
  10.     -d name=string          # equivalent to: #define name string
  11.     -dc                     # dump results of instruction combination to <file>.combine
  12.     -df                     # dump results of flow analysis to <file>.flow
  13.     -dg                     # dump results of global register allocation to <file>.greg
  14.     -dj                     # dump results of first jump optimization to <file>.jump
  15.     -dJ                     # dump results of last jump optimization to <file>.jump2
  16.     -dl                     # dump results of local register allocation to <file>.lreg
  17.     -dL                     # dump results of loop optimization to <file>.loop
  18.     -dm                     # dump summary of memory usage
  19.     -dr                     # dump RTL (intermediate) code to <file>.rtl 
  20.     -ds                     # dump results of common subexpression elimination to <file>.cse
  21.     -e                      # write preprocessor results to output
  22.     -e2                     # implies '-e' above, and strips comments
  23.     -elems881               # generate MC68881 code for transcendentals
  24.     -fasm                   # recognize asm, inline, and typeof keywords (default) 
  25.     -fno-asm                # do not recognize asm, inline, and typeof keywords
  26.     -fbuiltin               # Recognize builtin functions (strlen etc) specially (default)
  27.     -fno-builtin            # do not recognize builtin functions specially
  28.     -fcombine-regs            # (obscure, see GCC manual)
  29.     -fcond-mismatch         # allow conditional expressions with mismatched types
  30.     -fno-cond-mismatch      # disallow conditional expressions with mismatched types (default)
  31.     -fdefer-pop             # pop arguments to function when convenient (default)
  32.     -fno-defer-pop          # always pop arguments to function as soon as possible
  33.     -ffixed-<reg>           # treat <reg> as a fixed register not to be allocated
  34.     -fcall-used-<reg>       # treat <reg> as clobbered by function calls
  35.     -fcall-saved-<reg>      # treat <reg> as saved by function calls
  36.     -ffast-math             #
  37.     -fno-fast-math          #
  38.     -ffloat-store           # do not store floats in registers
  39.     -fno-float-store        # keep floats in registers when convenient (default)
  40.     -fforce-mem                # (obscure, see GCC manual)
  41.     -fforce-addr            # (obscure, see GCC manual)
  42.     -ffunction-cse            # (default)
  43.     -fno-function-cse       #
  44.     -finline                # pay attention to the inline keyword (default)
  45.     -fno-inline             # ignore the inline keyword
  46.     -finline-functions      # integrate all "simple" functions into their callers
  47.     -fno-inline-functions   # never integrate functions into their callers (default)
  48.     -fkeep-inline-functions # generate code for static inline functions
  49.     -fno-keep-inline-functions # do not generate code for static inline functions (default)
  50.     -fomit-frame-pointer    # don't keep frame pointer in a reg if not needed
  51.     -fno-omit-frame-pointer # always use a frame pointer (default)
  52.     -fsigned-bitfields      # let bitfields be signed (default)
  53.     -funsigned-bitfields    # let bitbields be unsigned
  54.     -fsigned-char           # let `char' be signed (default)
  55.     -funsigned-char         # let `char` be unsigned
  56.     -fstrength-reduce       # perform loop strength reduction
  57.     -fno-strength-reduce    # do not perform loop strength reduction (default)
  58.     -fsyntax-only           # check syntax only (same as '-c')
  59.     -fthread-jumps          #
  60.     -fvolatile              # consider all references through pointers to be volatile
  61.     -fno-volatile            # do not consider all references through pointers to be volatile
  62.     -fwritable-strings      #
  63.     -fno-writable-strings   #
  64.     -i directory[,dir]*     # search for includes in directory(s)
  65.     -include file           # process file as input before processing regular file
  66.     -m                      # generate 32-bit references for data
  67.     -makedep                # write a makefile dependency line to standard output
  68.     -mbg on|off|full        # control macsbug symbols (default on)
  69.     -mc68020                # generate MC68020 code 
  70.     -mc68881                # generate MC68881 code for arithmetic operations
  71.     -mnoseg                 # suppress generation of SEG directives in assembly output
  72.     -m68020-40                # generate 68020 code that is optimized for 68040
  73.     -m68040                 # generate 68040-only code
  74.     -o objname              # generate code in file or directory <objname>
  75.     -opt on|off|full        # set the amount of optimization to be done
  76.     -p                      # write progress information to diagnostic
  77.     -pedantic               # warn about non-ANSI code
  78.     -pedantic-errors        # error out on non-ANSI code
  79.     -r                      # warn on calling a function that has no definition
  80.     -s segment              # generate code in segment <segment>
  81.     -sym on|off|full        # control SADE record generation; modify with [,nolines] [,notypes] [,novars]
  82.     -t                      # write compilation time to diagnostic
  83.     -tools directory        # use the cpp and cc1 tools found in directory
  84.     -trace on|off|always|never # control the generation of trace calls
  85.     -traditional            # attempt to support aspects of traditional (K&R) C
  86.     -traditional-cpp        # attempt to support aspects of traditional preprocessors
  87.     -trigraphs              # support trigraphs
  88.     -u name                 # equivalent to: #undef name
  89.     -w                      # suppress warnings
  90.     -w2                        # emit even more warnings
  91.     -Wxxx                   # print assorted extra warnings
  92.     -warnings on|off|full    # control the generation of warning messages
  93.     -y directory            # create temporary files in <directory>
  94. -
  95. gCPlus                # C++ (AT&T CFront + Gnu C compiler)
  96. gCPlus [option…] [file…] < file > intermediate output ≥ progress
  97.     -a                        # force ANSI-style intermediate C code (default)
  98.     -a0                        # force K&R-style (pre-ANSI) intermediate C code
  99.     -a1                        # force ANSI-style intermediate C code (default)
  100.     -ansi                   # support only ANSI-compliant code
  101.     -asm                    # produce assembly language only, in <file>.a
  102.     -b                      # put string constants into code and generate PC-relative references
  103.     -c                        # intermediate code to standard output; no object file
  104.     -d name                 # equivalent to: #define name 1
  105.     -d name=string          # equivalent to: #define name string
  106.     -dc                     # dump results of instruction combination to <file>.combine
  107.     -df                     # dump results of flow analysis to <file>.flow
  108.     -dg                     # dump results of global register allocation to <file>.greg
  109.     -dj                     # dump results of first jump optimization to <file>.jump
  110.     -dJ                     # dump results of last jump optimization to <file>.jump2
  111.     -dl                     # dump results of local register allocation to <file>.lreg
  112.     -dL                     # dump results of loop optimization to <file>.loop
  113.     -dm                     # dump summary of memory usage
  114.     -dr                     # dump RTL (intermediate) code to <file>.rtl 
  115.     -ds                     # dump results of common subexpression elimination to <file>.cse
  116.     -e                      # write preprocessor results to output
  117.     -e2                     # implies '-e' above, and strips comments
  118.     -elems881               # generate MC68881 code for transcendentals
  119.     -f filename                # act as if input comes from named file when it actually is from stdin 
  120.     -fasm                   # recognize asm, inline, and typeof keywords (default) 
  121.     -fno-asm                # do not recognize asm, inline, and typeof keywords
  122.     -fcombine-regs            # (obscure, see GCC manual)
  123.     -fcond-mismatch         # allow conditional expressions with mismatched types
  124.     -fno-cond-mismatch      # disallow conditional expressions with mismatched types (default)
  125.     -fdefer-pop             # pop arguments to function when convenient (default)
  126.     -fno-defer-pop          # always pop arguments to function as soon as possible
  127.     -ffixed-<reg>           # treat <reg> as a fixed register not to be allocated
  128.     -fcall-used-<reg>       # treat <reg> as clobbered by function calls
  129.     -fcall-saved-<reg>      # treat <reg> as saved by function calls
  130.     -ffloat-store           # do not store floats in registers
  131.     -fno-float-store        # keep floats in registers when convenient (default)
  132.     -fforce-mem                # (obscure, see GCC manual)
  133.     -fforce-addr            # (obscure, see GCC manual)
  134.     -finline-functions      # integrate all "simple" functions into their callers
  135.     -fno-inline-functions   # never integrate functions into their callers (default)
  136.     -fkeep-inline-functions # generate code for static inline functions
  137.     -fno-keep-inline-functions # do not generate code for static inline functions (default)
  138.     -fomit-frame-pointer    # don't keep frame pointer in a reg if not needed
  139.     -fno-omit-frame-pointer # always use a frame pointer (default)
  140.     -fsigned-char           # let `char' be signed (default)
  141.     -funsigned-char         # let `char` be unsigned
  142.     -fstrength-reduce       # perform loop strength reduction
  143.     -fno-strength-reduce    # do not perform loop strength reduction (default)
  144.     -fvolatile              # consider all references through pointers to be volatile
  145.     -fno-volatile            # do not consider all references through pointers to be volatile
  146.     -i directory            # search for includes in directory
  147.     -m                      # generate 32-bit references for data
  148.     -maxerrors <n>            # specify that CFront abort after reporting <n> errors (default 12)
  149.     -mbg off                # no macsbug symbols in the code (+ link/unlk only if necessary)
  150.     -mbg on|full            # full macsbug symbols (default)
  151.     -mc68020                # generate MC68020 code 
  152.     -mc68881                # generate MC68881 code for arithmetic operations
  153.     -mf                     # use MultiFinder memory for CFront if there is not enough MPW memory
  154.     -mnoseg                 # suppress generation of #pragma seg directives in assembly output
  155.     -mtbl0                    # suppress output of method tables for Object Pascal classes
  156.     -mtbl1                    # force output of method tables for Object Pascal classes
  157.     -opt on|off|full        # control optimization
  158.     -o objname              # generate code in file or directory <objname>
  159.     -p                      # write progress information to diagnostic
  160.     -pedantic               # be strict about accepting only ANSI C
  161.     -s segment              # generate code in segment
  162.     -sym on|off|full        # control SADE record generation; modify with [,nolines] [,notypes] [,novars]
  163.     -t                      # write compilation time to diagnostic
  164.     -tools directory        # use the cpp and cc1 tools found in directory
  165.     -trace on|off|always|never # control the generation of trace calls
  166.     -traditional            # attempt to support aspects of traditional (K&R) C
  167.     -u name                 # equivalent to: #undef name
  168.     -vtbl0                    # suppress output of virtual tables for ordinary classes
  169.     -vtbl1                    # force output of virtual tables for ordinary classes
  170.     -w                      # suppress warnings
  171.     -w1                        # generate additional warnings from CFront
  172.     -w2                        # generate maximum warnings from CFront and the C compiler
  173.     -w3                        # passed through to C compiler (supresses "unused" warnings)
  174.     -warnings on|off|full    # control the generation of warning messages
  175.     -y directory            # create temporary files in directory
  176.     -z0                        # force 'inline' functions to be non-inline
  177.     -z3                        # supress name encoding of local vars and struct members (default)
  178.     -z4                        # encode names of local vars and struct members
  179.     -z6                        # force enums always to be int variables
  180.     -z7                        # relax requirement on static class member initialization 
  181. -
  182.